package com.aliyun.messagemgt.api;

import com.aliyun.messagemgt.model.AsyncPushRequest;
import com.aliyun.messagemgt.model.AsyncPushResponse;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author Qinyuan
 * @date 2025/7/29
 */
public interface AsyncPushAPIHttp {

    @PostMapping(value = "/async/push")
    ResponseEntity<AsyncPushResponse> msgPush(@Validated @RequestBody AsyncPushRequest request);

}
